package me.flyray.merchant;


import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

/**
 * Created by bolei on 18/9/17.
 */

public class Activity_A extends android.support.v4.app.Fragment {

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View v = inflater.inflate(R.layout.activity_a,null);
        Bundle bundle = getArguments();
        if (bundle != null) {
            String res = bundle.getString("response");
            TextView tv =(TextView)v.findViewById(R.id.text);
            tv.setText(res);
        }
        return v;
    }
}
